About packages.yml context
The following context methods and variables are available when configuring a packages.yml file.
Available context methods:
- env_var
- You can use
env_var()in any dbt YAML file that supports Jinja, butpackages.ymltreat environment variables as secrets (using theDBT_ENV_SECRET_prefix).
- You can use
- var (Note: only variables defined with
--varsare available. Refer to YAML tips for more information)
Available context variables:
Related docs
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
0